<div class="frame_configDiv">
<form name="configForm" id="configForm" action="administrator-system-doconfigorderemail" method="post">
  <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#c8d9e9">
  	<tr>
	  <td colspan="2">快递单号册邮件设置</td>
	</tr>
	<tr>
      <td valign="top" class="ri-bbgg"> 邮箱：</td>
      <td class="le"><input type="text" class="configInput" style="width:180px" value="<?=$this->configArray['EMAIL_BOX']?>" name="EMAIL_BOX" /></td>
    </tr>
    <tr>
      <td valign="top" class="ri-bbgg"> 邮件标题：</td>
      <td class="le"><input type="text" class="configInput" style="width:180px" value="<?=$this->configArray['EMAIL_TITLE']?>" name="EMAIL_TITLE" /></td>
    </tr>
	<tr>
      <td valign="top" class="ri-bbgg"> 邮件内容：</td>
      <td class="le"><textarea name="EMAIL_BODY" cols="60" rows="16"><?=$this->configArray['EMAIL_BODY']?></textarea><br>
          {#orderid} 为订单号<br>
          {#sendid} 为快递单号<br>
		  {#Carrier} 快递公司<br>
		  {#TransitTime} 为快递时间<br>
		  {#WebSite} 为快递公司网址<br>
      </td>
    </tr>
	<tr>
      <td colspan="2" class="se" align="center">
        <input type="button" class="iput" value="保 存"   onclick="checkform();" />　　
        <input type="button" class="iput" value="返 回" onclick="commonEffection.confirmBack();" />
      </td>
    </tr>
  </table>
  </form>
</div>
<script>
function checkform(){
	var isTrue=true;
	$('.configInput').each(
		function(){
			if(trim($(this).val())==''){
				isTrue=false;
			}
		}
	);
	if(isTrue){
		$('#configForm').submit();
	}else{
		alert('请填写完整所有信息!');
	}
}
</script>